package cn.wolfcode.trip.core.mapper;


import cn.wolfcode.luowowo.member.domain.Userinfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserinfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Userinfo record);

    Userinfo selectByPrimaryKey(Long id);

    List<Userinfo> selectAll();

    int updateByPrimaryKey(Userinfo record);



    Integer checkNumByPhone(String phone);


    Userinfo loginIn(@Param("phone") String phone, @Param("password") String password);
}